package ru.averta.notes.dao.impl;

import org.hibernate.Criteria;
import org.springframework.stereotype.Repository;
import ru.averta.notes.dao.CommonSubjectDao;
import ru.averta.notes.domain.Site;

/**
 *
 * @author fedor.belov
 */

@Repository
public class CommonSubjectDaoImpl extends UserableDaoImpl<Site, Long> implements CommonSubjectDao {

    @Override
    public Criteria createHibernateCriteria() {
        return createCriteria("subject");
    }

}
